package com.wego.service.impl;

import com.wego.common.base.impl.BaseServiceImpl;
import com.wego.entity.domain.Province;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.wego.mapper.ProvinceMapper;
import com.wego.service.ProvinceService;

import java.util.List;

@Service
public class ProvinceServiceImpl extends BaseServiceImpl<Province> implements ProvinceService{

    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<Province> selectAll() {
        final List<Province> provinceList = provinceMapper.selectList(null);
        return provinceList;
    }
}
